package com.haoze.nurse.model;


import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author DJH
 * @date 2019/10/22
 */
@Table(name = "EMR.NURSE_FILE_DATA_DETAIL_MARK")
public class NurseFileDataDetailMark {
    @Id
    @Column(name = "DETAIL_MARK_ID")
    private String DetailMarkId;   //详情痕迹ID

    @Column(name = "MARK_ID")
    private String markId;   //主记录痕迹ID

    @Column(name = "FILE_DATA_DETAIL_ID")
    private String fileDataDetailId; //记录ID

    @Column(name = "DATA_VERSION")
    private Integer dataVersion ;  //版本编号

    @Column(name = "GMT_CREATE")
    private Date GMT_CREATE;    //创建时间

    @Column(name = "GMT_MODIFY")
    private Date GMT_MODIFY;   //更新时间

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;   //医院编号

    @Column(name = "RECORD_TIME")
    private String recordTime;   //当前记录设定时间（分钟）yyyy-mm-dd HH:MM

    @Column(name = "VAR_CODE")
    private String varCode;   //编号

    @Column(name = "ELEMENT_ID")
    private String elementId;  //数据元ID

    @Column(name = "ELEMENT_TYPE")
    private String elementType;  // 数据元类型

    @Column(name = "DATA_CODE")
    private String dataCode;   //保存值域主键

    @Column(name = "BOND_NO")
    private String bondNo;   //绑定的编号（用来区分多组数据）

    @Column(name = "FILE_DATA_ID")
    private String fileDataId;  //记录ID

    @Column(name = "PARENT_ID")
    private String parentId;  //父记录编号

    @Column(name = "COMMON_TYPE")
    private String commonType;  //关联类型:0独立类型，1公用类型

    @Column(name = "INPAT_NUM")
    private String inpatNum;   //住院编号

    @Column(name = "OPERATION_ID")
    private String operationId;  // 编辑人ID

    @Column(name = "FLAG")
    private String flag;   //0新增，1编辑，2删除

    @Column(name = "SUB_FILE_DATA_ID")
    private String subFileDataId;  //子节点ID

    @Column(name = "MEDICAL_ID")
    private String medicalId;   // 医疗术语ID

    @Column(name = "ELEMENT_PROPERTY")
    private String elementProperty;  //类型

    @Column(name = "UNIT")
    private String unit;  //单位

    @Column(name = "EXPAND_FIELDS")
    private String expandFields;  //扩展字段，对于护理文书包含inputType，医嘱相关字段等

    @Column(name = "EDIT_IDENTIFICATION")
    private String editIdentification;  //0可编辑1不可编辑

    @Column(name = "SHOW_IDENTIFICATION")
    private String showIdentification;  //是否显示 0 是 1 否

    @Column(name = "PRINT_IDENTIFICATION")
    private String printIdentification;   //是否打印 0 是 1 否

    @Column(name = "DELETE_IDENTIFICATION")
    private String deleteIdentification;  //是否删除 0 是 1 否

    @Column(name = "TPL_DETAIL_ID")
    private String tplDetailId;   //模板详情ID

    @Column(name = "SORT_ID")
    private Integer SORT_ID;    //排序编号

    @Column(name = "QUOTE_TYPE")
    private String quoteType;  //引用类型：1病程，2检查，3检验，4 2小时出入量 5本班出入量，6本班出量，7 24小时出量，8 本班尿量，9 24小时尿量，10 本班冲洗出入量，11 24小时冲洗出入量

    @Column(name = "QUOTE_ID")
    private String quoteId;  //引用ID

    @Column(name = "QUOTE_DATA_VERSION")
    private Integer quoteDataVersion;   //引用版本号

    @Column(name = "QUOTE_IDENTIFY")
    private String quoteIdentify;    //引用标识，如是否为病程第一级（主诉的特殊判断）如果引用类型为病程，1标识为病程第一级，0标识为病程其他级别

    @Column(name = "DATA_VALUE")
    private String dataValue;  //保存值

    @Column(name = "RECORD_TIME_CHANGE")
    private String recordTimeChange;  //记录时间变更

    @Column(name = "DATA_CODE_CHANGE")
    private String dataCodeChange; //dataCode变更

    @Column(name = "DATA_VALUE_CHANGE")
    private String dataValueChange;  //dataValue变更

    @Column(name = "UNIT_CHANGE")
    private String unitChange;  //单位变更

    @Column(name = "EXPAND_FIELDS_CHANGE")
    private String expandFieldsChange;  //扩展字段变更

    @Column(name = "OPERATION_TYPE")
    private String operationType;    //操作类型1新增，2编辑，3删除

    @Column(name = "RECORD_TYPE")
    private String recordType;    //0护理记录单，1待产记录单，2产时记录一，3产时记录二，4母婴同室新生儿护理记录单，5缩宫索静脉点滴引产观察表，6中期妊娠引产产时记录中期，7中期引产待产记录单

    @Column(name = "BEFORE_DATA_CODE")
    private String beforeDataCode;   //修改前的dataCode值

    @Column(name = "BEFORE_DATA_VALUE")
    private String beforeDataValue;  //修改前的dataValue值

    //////////////////////////////////////////////////////////////////////////////////////

    public String getDetailMarkId() {
        return DetailMarkId;
    }

    public void setDetailMarkId(String detailMarkId) {
        DetailMarkId = detailMarkId;
    }

    public String getMarkId() {
        return markId;
    }

    public void setMarkId(String markId) {
        this.markId = markId;
    }

    public String getFileDataDetailId() {
        return fileDataDetailId;
    }

    public void setFileDataDetailId(String fileDataDetailId) {
        this.fileDataDetailId = fileDataDetailId;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public Date getGMT_CREATE() {
        return GMT_CREATE;
    }

    public void setGMT_CREATE(Date GMT_CREATE) {
        this.GMT_CREATE = GMT_CREATE;
    }

    public Date getGMT_MODIFY() {
        return GMT_MODIFY;
    }

    public void setGMT_MODIFY(Date GMT_MODIFY) {
        this.GMT_MODIFY = GMT_MODIFY;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(String recordTime) {
        this.recordTime = recordTime;
    }

    public String getVarCode() {
        return varCode;
    }

    public void setVarCode(String varCode) {
        this.varCode = varCode;
    }

    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public String getElementType() {
        return elementType;
    }

    public void setElementType(String elementType) {
        this.elementType = elementType;
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }

    public String getBondNo() {
        return bondNo;
    }

    public void setBondNo(String bondNo) {
        this.bondNo = bondNo;
    }

    public String getFileDataId() {
        return fileDataId;
    }

    public void setFileDataId(String fileDataId) {
        this.fileDataId = fileDataId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getCommonType() {
        return commonType;
    }

    public void setCommonType(String commonType) {
        this.commonType = commonType;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getSubFileDataId() {
        return subFileDataId;
    }

    public void setSubFileDataId(String subFileDataId) {
        this.subFileDataId = subFileDataId;
    }

    public String getMedicalId() {
        return medicalId;
    }

    public void setMedicalId(String medicalId) {
        this.medicalId = medicalId;
    }

    public String getElementProperty() {
        return elementProperty;
    }

    public void setElementProperty(String elementProperty) {
        this.elementProperty = elementProperty;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getExpandFields() {
        return expandFields;
    }

    public void setExpandFields(String expandFields) {
        this.expandFields = expandFields;
    }

    public String getEditIdentification() {
        return editIdentification;
    }

    public void setEditIdentification(String editIdentification) {
        this.editIdentification = editIdentification;
    }

    public String getShowIdentification() {
        return showIdentification;
    }

    public void setShowIdentification(String showIdentification) {
        this.showIdentification = showIdentification;
    }

    public String getPrintIdentification() {
        return printIdentification;
    }

    public void setPrintIdentification(String printIdentification) {
        this.printIdentification = printIdentification;
    }

    public String getDeleteIdentification() {
        return deleteIdentification;
    }

    public void setDeleteIdentification(String deleteIdentification) {
        this.deleteIdentification = deleteIdentification;
    }

    public String getTplDetailId() {
        return tplDetailId;
    }

    public void setTplDetailId(String tplDetailId) {
        this.tplDetailId = tplDetailId;
    }

    public Integer getSORT_ID() {
        return SORT_ID;
    }

    public void setSORT_ID(Integer SORT_ID) {
        this.SORT_ID = SORT_ID;
    }

    public String getQuoteType() {
        return quoteType;
    }

    public void setQuoteType(String quoteType) {
        this.quoteType = quoteType;
    }

    public String getQuoteId() {
        return quoteId;
    }

    public void setQuoteId(String quoteId) {
        this.quoteId = quoteId;
    }

    public Integer getQUOTE_DATA_VERSION() {
        return quoteDataVersion;
    }

    public void setQUOTE_DATA_VERSION(Integer quoteDataVersion) {
        this.quoteDataVersion = quoteDataVersion;
    }

    public String getQuoteIdentify() {
        return quoteIdentify;
    }

    public void setQuoteIdentify(String quoteIdentify) {
        this.quoteIdentify = quoteIdentify;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public String getRecordTimeChange() {
        return recordTimeChange;
    }

    public void setRecordTimeChange(String recordTimeChange) {
        this.recordTimeChange = recordTimeChange;
    }

    public String getDataCodeChange() {
        return dataCodeChange;
    }

    public void setDataCodeChange(String dataCodeChange) {
        this.dataCodeChange = dataCodeChange;
    }

    public String getDataValueChange() {
        return dataValueChange;
    }

    public void setDataValueChange(String dataValueChange) {
        this.dataValueChange = dataValueChange;
    }

    public String getUnitChange() {
        return unitChange;
    }

    public void setUnitChange(String unitChange) {
        this.unitChange = unitChange;
    }

    public String getExpandFieldsChange() {
        return expandFieldsChange;
    }

    public void setExpandFieldsChange(String expandFieldsChange) {
        this.expandFieldsChange = expandFieldsChange;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getRecordType() {
        return recordType;
    }

    public void setRecordType(String recordType) {
        this.recordType = recordType;
    }

    public String getBeforeDataCode() {
        return beforeDataCode;
    }

    public void setBeforeDataCode(String beforeDataCode) {
        this.beforeDataCode = beforeDataCode;
    }

    public String getBeforeDataValue() {
        return beforeDataValue;
    }

    public void setBeforeDataValue(String beforeDataValue) {
        this.beforeDataValue = beforeDataValue;
    }
}
